# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem                  1.0
PortGroup                   github 1.0

github.setup                strukturag libheif 1.6.2 v
revision                    0
categories                  multimedia
license                     LGPL-3+
maintainers                 {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description                 a ISO/IEC 23008-12:2017 HEIF file format decoder and encoder
long_description            ${name} is ${description}.
platforms                   darwin

github.tarball_from         releases

checksums                   rmd160  659bf1335b86bf95c58ef022fd654bd268809d96 \
                            sha256  bb229e855621deb374f61bee95c4642f60c2a2496bded35df3d3c42cc6d8eefc \
                            size    1515763

depends_build-append        port:pkgconfig

depends_lib-append          port:gdk-pixbuf2 \
                            path:lib/libjpeg.dylib:jpeg \
                            port:libde265 \
                            port:libpng \
                            port:x265

compiler.cxx_standard       2011

configure.args-append       --disable-go

variant tests description {Enable tests} {
    configure.args-append   --enable-tests
    test.run                yes
}
